package space.xxhui.javatts.dto;

import space.xxhui.javatts.base.constants.LanguageConstants;

import javax.validation.constraints.NotEmpty;

/**
 * @author HitvzByHui
 * date 2021-03-28
 */
public class TextToSpeechDto {

    @NotEmpty
    private String text;

    private String language = LanguageConstants.CANTONESE;

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }
}
